﻿namespace FlitBit.Cache.CacheNet
{
	/// <summary>
	///   Indicates CacheNet message kinds
	/// </summary>
	public enum CacheNetMessageKind
	{
		/// <summary>
		///   None.
		/// </summary>
		None = 0,

		/// <summary>
		///   Indicates the message contains expiration(s) by ID.
		/// </summary>
		ExpirationById = 1,

		//ExpirationMatch = 2,

		/// <summary>
		///   Heartbeat sent by cache-net nodes periodically.
		/// </summary>
		Heartbeat = 100,

		/// <summary>
		///   Reply to heartbeat; communicates known cache-net nodes
		///   and their liveliness.
		/// </summary>
		Gossip = 101,
	}
}